package model

import "time"

type CommentsComment struct {
	Id              int       `db:"id"`
	Body            string    `db:"body"`
	CreatedTime     time.Time `db:"created_time"`
	LastModTime     time.Time `db:"last_mod_time"`
	IsEnable        bool      `db:"is_enable"`
	ArticleId       int       `db:"article_id"`
	AuthorId        int       `db:"author_id"`
	ParentCommentId int       `db:"parent_comment_id"`
}

func (c *CommentsComment) TableName() string {
	return "comments_comment"
}
